package com.tsd.jxc.stock.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.stock.entity.JxcStockQue;
import com.tsd.jxc.stock.entity.JxcStockQueExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcStockQueMapper
 *
 * @author Hillpool
 * @date 2022/08/17 14:14:36
 */
public interface JxcStockQueMapper {

    JxcStockQue selectByPrimaryKey(Long id);

    JxcStockQueExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(JxcStockQue record);

    int insertSelective(JxcStockQue record);

    int updateByPrimaryKey(JxcStockQue record);

    int updateByPrimaryKeySelective(JxcStockQue record);

    List<JxcStockQueExt> selectByEntity(JxcStockQueExt record);

    List<JxcStockQueExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcStockQueExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcStockQueExt> selectByParams(@Param("params") Map<String, Object> params);

    List<JxcStockQueExt> select4Proc(@Param("greater_than_id") Long greater_than_id, @Param("size") int size);
}